package org.itboys.core.entity.mysql.order;

import lombok.Data;
import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;

/**
 * 作者：zzq
 * 时间：2018/12/7
 * 描述：配送订单托盘
 */
@Data
public class SundaySendOrderModel extends BaseMySqlEntity {
    private Long orderId;//订单id
    private Long storeId;//仓库id
    private Long modelId;//模板id
    private String name;//模板名称
    private BigDecimal rentPrice;//租赁价
    private BigDecimal buyOutPrice;//买断价
    private BigDecimal depositPrice;//押金
    private Integer startNum;//原始数量
    private Integer num;//数量
    //private Integer status;//状态   1，未租赁  2，租赁中  3，已还托 4，已买断

    public SundaySendOrderModel() {
    }

    public SundaySendOrderModel(Long orderId,Long storeId, Long modelId, String name,
                                BigDecimal rentPrice, BigDecimal buyOutPrice,BigDecimal depositPrice,
                                Integer startNum,Integer num) {
        this.orderId = orderId;
        this.storeId=storeId;
        this.modelId = modelId;
        this.name = name;
        this.rentPrice = rentPrice;
        this.buyOutPrice = buyOutPrice;
        this.depositPrice=depositPrice;
        this.startNum=startNum;
        this.num=num;
    }
}
